//JsonReader
var alertEventReader = new Ext.data.JsonReader( {
	root : 'list',
	totalProperty : 'totalCount',
	id : 'id',
	successProperty : '@success'
}, [ {
	name : 'alertEventId',
	mapping : 'alerteventid'
}, {
	name : 'eventTitle',
	mapping : 'eventtitle'
}, {
	name : 'eventContent',
	mapping : 'eventcontent'
}, {
	name : 'alertTime',
	mapping : 'alerttime'
},{
	name : 'isRead',
	mapping : 'isread'
},{
	name : 'eventAlertMan',
	mapping : 'eventalertman'
},{
	name : 'eventPublishMan',
	mapping : 'eventPublishMan'
},{
	name : 'spareField1',
	mapping : 'sparefield1'
},{
	name : 'spareField2',
	mapping : 'sparefield2'
},{
	name : 'spareField3',
	mapping : 'sparefield3'
}]);
var alertEventPublishedStore = new Ext.data.Store( {
	proxy : new Ext.data.HttpProxy( {
		url : 'projectManage/projectManageAction!getAllResultingAlertEventPub'
	}),
	reader : alertEventReader,
	pageSize : 20
});
var alertEventReceivedStore = new Ext.data.Store( {
	proxy : new Ext.data.HttpProxy( {
		url : 'projectManage/projectManageAction!getAllResultingAlertEventRec'
	}),
	reader : alertEventReader,
	pageSize : 20
});
var inquryAlertEventPub = new Ext.data.ArrayStore({
    fields: ['type','inquryType'],
    idIndex: 2
});
var inquryType_Pub = [
                  ["all",'选择查询字段'],               
                  ["unread",'对方未读'],  
                  ["read",'对方已读'] 
                 ];
inquryAlertEventPub.loadData(inquryType_Pub);
var inquryAlertEventRec = new Ext.data.ArrayStore({
    fields: ['type','inquryType'],
    idIndex: 2
});
var inquryType_Rec = [
                  ["all",'选择查询字段'],               
                  ["unread",'未读'],  
                  ["read",'已读'] 
                 ];
inquryAlertEventRec.loadData(inquryType_Rec);